﻿@model IEnumerable<Northwind.Model.Employee>
@{ ViewBag.Title = "jEditable in ASP.NET MVC - Employees"; }
<table>
    <thead>
        <tr>
            <th>
                Title Of Courtesy
            </th>
            <th>
                First Name
            </th>
            <th>
                Last Name
            </th>
            <th></th>
        </tr>
    </thead>
    <tbody>
    @foreach (Northwind.Model.Employee employee in Model) {
        <tr>
            <td>
                @employee.TitleOfCourtesy
            </td>
            <td>
                @employee.FirstName
            </td>
            <td>
                @employee.LastName
            </td>
            <td>
                @Html.ActionLink("Details", "Employee", new { employeeKey = employee.Id })
            </td>
        </tr>
    }
    </tbody>
</table>

